package lt.hsu.web;

import lt.hsu.thr.LtException;

public interface ErrorCode {

    long getCode();

    String getMessage();


    default LtException toThr(){
        return new LtException(this.getCode(),this.getMessage());
    }

}
